<!doctype html>
<html>
  <head></head>
  <body>
    <div id="test"></div>
    <script>
      document.getElementById('test').innerText = window.myLib.double(1);
    </script>
  </body>
</html>
